<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>添加联系人</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="<%=basePath %>admin/lib/layui-v2.5.5/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=basePath %>admin/css/public.css" media="all" />
</head>
<body class="childrenBody">
<h2>添加联系人</h2>
<p><span style="color: red">*</span>为必填项</p>
<form class="layui-form layui-form-pane" action="Javascript:void(0)" id="demo1">
    <div class="layui-col-md6 layui-col-space8">
        <div class="grid-demo grid-demo-bg2">
            <div class="layui-form-item">
                <label class="layui-form-label">联系人名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="concatName" id="concat" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form layui-row ">
                <span>性别：</span>
                <input type="radio" name="sex" value="0" title="未知">
                <input type="radio" name="sex" value="1" title="先生">
                <input type="radio" name="sex" value="2" title="女士" checked>
            </div>
            <div class="layui-form layui-row ">
                <span>角色：</span>
                <select id="role" class="layui-input-inline" name="role">
                    <option value="">选择角色</option>
                    <option value="1">普通人</option>
                    <option value="2">决策人</option>
                    <option value="3">分项决策人</option>
                    <option value="4">商务决策</option>
                    <option value="5">财务决策</option>
                    <option value="6">使用人</option>
                    <option value="7">意见影响人</option>
                </select>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">职务部门</label>
                <div class="layui-input-inline">
                    <input type="text" name="dept" id="dept" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">手机号码</label>
                <div class="layui-input-inline">
                    <input type="text" name="phone" id="phone" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">固定电话</label>
                <div class="layui-input-inline">
                    <input type="text" name="fixedPhone" id="fixedPhone" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">电子邮箱</label>
                <div class="layui-input-inline">
                    <input type="text" name="email" id="email" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">qq号码</label>
                <div class="layui-input-inline">
                    <input type="text" name="qq" id="qq" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">所在地区</label>
                <div class="layui-input-inline">
                    <input type="text" name="area" id="area" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">详细地址</label>
                <div class="layui-input-inline">
                    <input type="text" name="address" id="address" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px">
                </div>
            </div>
            <div class="layui-form-item  layui-row" >
                <label class="layui-form-label">传真号码</label>
                <div class="layui-input-inline">
                    <input type="text" name="concatPhone" id="concatPhone" lay-verify="required" placeholder="" autocomplete="off" class="layui-input"  style="width: 300px;height: 200px">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md4">
        <div class="layui-input-wrap">
            <div class="layui-input-prefix">
                <span style="color: red">*</span>下次跟进
            </div>
            <input type="date" name="nextFollow" placeholder="选择时间" class="layui-input">
            <div class="layui-input-suffix">
                <i class="layui-icon layui-icon-date"></i>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-group">
            <div class="layui-input-prefix">
               跟进内容
            </div>
            <input type="text" name="followContent" placeholder="请输入跟进内容" class="layui-input">
        </div>
    </div>
    <div class="layui-col-md4">
        <div class="layui-input-wrap">
            <div class="layui-input-prefix">
                <span style="color: red">*</span>跟进人员
            </div>
            <input type="date" name="followUser" placeholder="选择时间" class="layui-input">
            <div class="layui-input-suffix">
                <i class="layui-icon layui-icon-username"></i>
            </div>
        </div>
    </div>
    <div class="layui-col-md4">
        <div class="layui-input-wrap">
            <div class="layui-input-prefix">
                <span style="color: red">*</span>任务提醒
            </div>
            <select name="task">
                <option value="1">准时提醒</option>
                <option value="2">提前5分钟</option>
                <option value="3">提前15分钟</option>
                <option value="4">提前30分钟</option>
                <option value="5">提前1小时</option>
                <option value="6">提前2小时</option>
                <option value="7">提前1天</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提醒方式：</label>
        <div class="layui-input-inline">
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">系统消息
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">邮件通知
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">短信通知
        </div>
    </div>

    <div class="layui-form-item">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit lay-filter="demo1">提交</button>
        <button type="reset" class="layui-btn layui-btn-normal layui-btn-radius">重置</button>
    </div>
</form>
<script type="text/javascript" src="<%=basePath %>admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/pagejs/system/user/addContact.js"></script>
</body>
</html>